using System;

[Serializable]
public class KillEvent : GameplayEvent
{
	public WeaponType weaponType;

	public GPE_EnemyType enemyType;

	public virtual bool IfEvent(KillInfo newKill)
	{
		if (weaponType != WeaponType.Non && weaponType != newKill.weaponType)
		{
			return false;
		}
		if (enemyType != 0 && enemyType != newKill.enemyType)
		{
			return false;
		}
		return true;
	}
}
